package com.aaa.product.dao;

import com.aaa.product.entity.ShoppingCart;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;import java.util.List;

@Mapper
public interface ShoppingCartMapper extends BaseMapper<ShoppingCart> {
    List<ShoppingCart> selectByPhone(String phone);

    Integer nodup(String phone, String tid);

    boolean countAdd(String phone, String tid);
}